#include "WindowHelper.h"
#include "../SDLtoolkit/widgets/PlayScenarioPanel.h"

WindowHelper::WindowHelper() {
}

WindowHelper::~WindowHelper() {
}

Window* WindowHelper::playSceneWindow(SpaceBattleInterface* game) {
	Logger::log("WindowHelper", "playWindow", "Abriendo el escenario ");

	Window* playWindow = new Window(play);

	PlayScenarioPanel* panel = new PlayScenarioPanel(0, 0, playWindow, game);

	playWindow->setScenarioContainer(panel);

	return playWindow;
}


Window* WindowHelper::exitWindow() {
	Window* exitWindow = new Window(EXIT);

	//TODO GPV add this, erase by error

	//Label* label = new Label("Saliendo ...", exitWindow, 20, 50);
	//((Container*) exitWindow)->add(label);

	return exitWindow;
}
